package blaha.genalg.output;

import blaha.genalg.beans.Board;

/**
 * Test matrice for view of first-level-joins
 * @author pblaha
 *
 */
public class PrintMatrice {
	
	public PrintMatrice(Board board){
		for(int r=0;r<board.getSizeMap();r++){
			for(int k=0;k<board.getSizeMap();k++){
				if(Board.matrixOfJoins[r][k].isConnected()==true)
					System.out.print("1 ");
				else
					System.out.print("0 ");
			}
			System.out.println();
		}
	}

}
